package edu.je.prs.vo;

import lombok.Data;

/**
 * @Description:
 * @author: Anhlaidh
 * @date: 2021-04-21 14:39
 */
@Data
public class MatchPositionVo {
    float score;
    String id;
    String name;
    String salary;
    String company;

    public MatchPositionVo(float score,float maxScore, String id, String name, String salary, String company) {
        this.score = (score / maxScore) * 5;
        this.id = id;
        this.name = name;
        this.salary = salary;
        this.company = company;
    }
}
